package pl.com.like.sequoia.model.security;

import pl.com.like.sequoia.model.Pojo;

public class User extends Pojo<Long> implements IUser {

	private static final long serialVersionUID = 4133534123244732902L;
	String email;
	String login;
	String name;
	String password;
	String surname;

	public String getEmail() {
		return email;
	}

	public String getLogin() {
		return login;
	}

	public String getName() {
		return name;
	}

	public String getPassword() {
		return password;
	}

	public String getSurname() {
		return surname;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString()
	{
	    final String TAB = "  ";
	    
	    String retValue = "";
	    
	    retValue = "User ( "
	        + super.toString() + TAB
	        + "email = " + this.email + TAB
	        + "login = " + this.login + TAB
	        + "name = " + this.name + TAB
	        + "password = " + this.password + TAB
	        + "surname = " + this.surname + TAB
	        + " )";
	
	    return retValue;
	}

	
	
}
